phpseclib3\Crypt\Salsa20 S

Total Complexity 50
Dependencies 4
Dependents 0
Total lines 475
Lines of code 234
Logical lines of code 134
Comment lines 126
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
crypt()
B
37 14 81
setup()
A
48 7 32
createPoly1305Key()
S
57 4 16
decrypt()
S
59 4 14
setKey()
S
64 3 10
salsa20()
S
61 3 10
leftRotate()
S
60 2 13
poly1305()
S
62 2 12
encrypt()
S
68 2 7
setNonce()
S
66 2 8
encryptBlock()
S
82 1 3
decryptBlock()
S
82 1 3
setupKey()
S
91 1 2
setCounter()
S
77 1 4
quarterRound()
S
68 1 6
doubleRound()
S
62 1 10
usesNonce()
S
82 1 3